
<div>
    <h2><span data-translate="gatewayApp.attribute.detail.title">Attribute</span> {{vm.attribute.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="dl-horizontal jh-entity-details">
        <dt><span data-translate="gatewayApp.attribute.skuPro">Sku Pro</span></dt>
        <dd>
            <span>{{vm.attribute.skuPro}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.attribute.displayOrder">Display Order</span></dt>
        <dd>
            <span>{{vm.attribute.displayOrder}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.attribute.langKey">Lang Key</span></dt>
        <dd>
            <span>{{vm.attribute.langKey}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.attribute.product">Product</span></dt>
        <dd>
            <a ui-sref="product-detail({id:vm.attribute.productId})">{{vm.attribute.productName}}</a>
        </dd>
        <dt><span data-translate="gatewayApp.attribute.productSku">Product Sku</span></dt>
        <dd>
            <a ui-sref="product-sku-detail({id:vm.attribute.productSkuId})">{{vm.attribute.productSkuName}}</a>
        </dd>
        <dt><span data-translate="gatewayApp.attribute.property">Property</span></dt>
        <dd>
            <a ui-sref="property-detail({id:vm.attribute.propertyId})">{{vm.attribute.propertyName}}</a>
        </dd>
        <dt><span data-translate="gatewayApp.attribute.value">Value</span></dt>
        <dd>
            <a ui-sref="value-detail({id:vm.attribute.valueId})">{{vm.attribute.valueName}}</a>
        </dd>
    </dl>

    <button type="submit"
            ui-sref="{{ vm.previousState }}"
            class="btn btn-info">
        <span class="glyphicon glyphicon-arrow-left"></span>&nbsp;<span data-translate="entity.action.back"> Back</span>
    </button>

    <button type="button" ui-sref="attribute-detail.edit({id:vm.attribute.id})" class="btn btn-primary">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="hidden-sm-down" data-translate="entity.action.edit"> Edit</span>
    </button>
</div>
